﻿using RearLivestock.Common.Domains.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RearLivestock.Common.Domains.zjy
{
    public class Permissions
    {
        /// <summary>
        /// 权限ID
        /// </summary>
        [Key]
        public int PermissionsId { get; set; }

        /// <summary>
        /// 权限功能
        /// </summary>
        [StringLength(50)]
        public string PermissionsFunction { get; set; } = string.Empty;

        /// <summary>
        /// URL 路径
        /// </summary>
        public string URL { get; set; } = string.Empty;

        /// <summary>
        /// 父级ID
        /// </summary>
        public int ParentLevelId { get; set; }
    }
}
